package com.gjs.intranet.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

@Data
@ApiModel("LibraryProject查询对象")
public class LibraryProjectQueryDTO {

    @Min(value = 1,message = "项目ID必须为整数且不能小于1")
    @ApiModelProperty("项目ID")
    private Long id;

    @Min(value = 1,message = "图书ID必须为整数且不能小于1")
    @ApiModelProperty("图书ID")
    private Long bookId;

    @ApiModelProperty("统一序列号")
    private String unionProjectSn;

    @ApiModelProperty("ERP中的项目号")
    private String erpProjectSn;

    @ApiModelProperty("书名")
    private String bookName;

    @ApiModelProperty("责任编辑姓名")
    private String editorName;
}
